Skip to contentSkip to conversation

Change in openvpn[master]: Remove dead remains of extract_x509_field_test

Openvpn-devel In review plaisthos (Code Review) 3 participants 6 messages Nov 30, 2023 – Dec 2, 2023 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): gerrit.1701361470000.Ie511a586cf022afcab9d67891ff80676ac7d47b9@...2715...

#1 lore raw

Attention is currently required from: flichtenheld.

Hello flichtenheld,

I'd like you to do a code review.
Please visit

    http://gerrit.openvpn.net/c/openvpn/+/462?usp=email

to review the following change.

Change subject: Remove dead remains of extract_x509_field_test
......................................................................

Remove dead remains of extract_x509_field_test

This removes some leftover references to extract_x509_field_test that was removed 15 years in commit 564cbab5f.

Change-Id Ie511a586cf022afcab9d67891ff80676ac7d47b9

---
M src/openvpn/init.c
M src/openvpn/ssl.h

2 files changed, 0 insertions(+), 8 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/62/462/1

src/openvpn/init.c +0 -5
index 8c707a4..abba748 100644
@@ -880,11 +880,6 @@
     return false;
 #endif
 
-#ifdef EXTRACT_X509_FIELD_TEST
-    extract_x509_field_test();
-    return false;
-#endif
-
 #ifdef TIME_TEST
     time_test();
     return false;
src/openvpn/ssl.h +0 -3
index e842746..6ba6ff8 100644
@@ -540,9 +540,6 @@
 
 #endif
 
-/*#define EXTRACT_X509_FIELD_TEST*/
-void extract_x509_field_test(void);
-
 /**
  * Given a key_method, return true if opcode represents the one of the
  * hard_reset op codes for key-method 2

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/462?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie511a586cf022afcab9d67891ff80676ac7d47b9
Gerrit-Change-Number: 462
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-MessageType: newchange

#2 lore raw
In reply to a message not in the archive

Attention is currently required from: plaisthos.

flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/462?usp=email )

Change subject: Remove dead remains of extract_x509_field_test
......................................................................

Patch Set 1: Code-Review+2

(1 comment)

Commit Message:

http://gerrit.openvpn.net/c/openvpn/+/462/comment/d07dc6e5_662cf6f9 :
PS1, Line 10: was removed 15 years in commit 564cbab5f. "15 years ago"

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/462?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie511a586cf022afcab9d67891ff80676ac7d47b9
Gerrit-Change-Number: 462
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Fri, 01 Dec 2023 10:29:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment

#3 lore raw

PATCH 1/1 Remove dead remains of extract_x509_field_test

In reply to a message not in the archive

From: Arne Schwabe <[email protected]...>

This removes some leftover references to extract_x509_field_test that was removed 15 years ago in commit 564cbab5f.

Change-Id Ie511a586cf022afcab9d67891ff80676ac7d47b9

---

This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/462
This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]...>

Small fix in commit message added manually.

src/openvpn/init.c +0 -5
index 8c707a4..abba748 100644
@@ -880,11 +880,6 @@
     return false;
 #endif
 
-#ifdef EXTRACT_X509_FIELD_TEST
-    extract_x509_field_test();
-    return false;
-#endif
-
 #ifdef TIME_TEST
     time_test();
     return false;
src/openvpn/ssl.h +0 -3
index e842746..6ba6ff8 100644
@@ -540,9 +540,6 @@
 
 #endif
 
-/*#define EXTRACT_X509_FIELD_TEST*/
-void extract_x509_field_test(void);
-
 /**
  * Given a key_method, return true if opcode represents the one of the
  * hard_reset op codes for key-method 2
#4 lore raw

[Openvpn-devel] [PATCH applied] Re: Remove dead remains of extract_x509_field_test

Obviously so :-) - haven't tested anything, as all removed code is insides #ifdef that are never defined (and the function body itself is long gone).

Your patch has been applied to the master branch.

commit 5ce74caa39cf6335bb4b5b394e1ac4da3c9b9a3f

Author: Arne Schwabe
Date:   Fri Dec 1 12:18:46 2023 +0100
     Remove dead remains of extract_x509_field_test

     Signed-off-by: Arne Schwabe <[email protected]...>
     Acked-by: Frank Lichtenheld <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg27625.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering

#5 lore raw
In reply to a message not in the archive

cron2 has uploaded a new patch set (#2) to the change originally created by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/462?usp=email )

The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld

Change subject: Remove dead remains of extract_x509_field_test
......................................................................

Remove dead remains of extract_x509_field_test

This removes some leftover references to extract_x509_field_test that was removed 15 years ago in commit 564cbab5f.

Change-Id Ie511a586cf022afcab9d67891ff80676ac7d47b9

Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg27625.html

---
M src/openvpn/init.c
M src/openvpn/ssl.h

2 files changed, 0 insertions(+), 8 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/62/462/2

src/openvpn/init.c +0 -5
index 8c707a4..abba748 100644
@@ -880,11 +880,6 @@
     return false;
 #endif
 
-#ifdef EXTRACT_X509_FIELD_TEST
-    extract_x509_field_test();
-    return false;
-#endif
-
 #ifdef TIME_TEST
     time_test();
     return false;
src/openvpn/ssl.h +0 -3
index e842746..6ba6ff8 100644
@@ -540,9 +540,6 @@
 
 #endif
 
-/*#define EXTRACT_X509_FIELD_TEST*/
-void extract_x509_field_test(void);
-
 /**
  * Given a key_method, return true if opcode represents the one of the
  * hard_reset op codes for key-method 2

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/462?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie511a586cf022afcab9d67891ff80676ac7d47b9
Gerrit-Change-Number: 462
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: newpatchset

#6 lore raw
In reply to a message not in the archive

cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/462?usp=email )

Change subject: Remove dead remains of extract_x509_field_test
......................................................................

Remove dead remains of extract_x509_field_test

This removes some leftover references to extract_x509_field_test that was removed 15 years ago in commit 564cbab5f.

Change-Id Ie511a586cf022afcab9d67891ff80676ac7d47b9

Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg27625.html

---
M src/openvpn/init.c
M src/openvpn/ssl.h

2 files changed, 0 insertions(+), 8 deletions(-)
src/openvpn/init.c +0 -5
index 8c707a4..abba748 100644
@@ -880,11 +880,6 @@
     return false;
 #endif
 
-#ifdef EXTRACT_X509_FIELD_TEST
-    extract_x509_field_test();
-    return false;
-#endif
-
 #ifdef TIME_TEST
     time_test();
     return false;
src/openvpn/ssl.h +0 -3
index e842746..6ba6ff8 100644
@@ -540,9 +540,6 @@
 
 #endif
 
-/*#define EXTRACT_X509_FIELD_TEST*/
-void extract_x509_field_test(void);
-
 /**
  * Given a key_method, return true if opcode represents the one of the
  * hard_reset op codes for key-method 2

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/462?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie511a586cf022afcab9d67891ff80676ac7d47b9
Gerrit-Change-Number: 462
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: merged